package com.chii.color.service;

import com.alibaba.fastjson.JSONObject;
import com.chii.color.config.MQConfig;
import com.rabbitmq.client.Channel;
import org.springframework.amqp.core.Message;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.web.multipart.MultipartFile;
import java.io.IOException;

public interface UploadSevice {

    @RabbitListener(queues = MQConfig.QUEUE)
    void upload(JSONObject jsonObject) throws IOException;

}
